# source
file(GLOB_RECURSE sources ./**.c)
file(GLOB hdrs ./include/**.h)

# build
add_library(lib STATIC ${sources})

# install
install(FILES ${hdrs} DESTINATION lib)
